package com.digitalchina.industry.service;

import com.digitalchina.industry.dao.EyeModelSceneMapper;
import com.digitalchina.industry.model.EyeModelScene;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by fanbo on 2017-07-14.
 */
@Service
public class SceneService {
    @Autowired
    private EyeModelSceneMapper eyeModelSceneMapper;

    public List<Map<String,Object>> getAllIndustrylList(Map<String, Object> params) {
        return  eyeModelSceneMapper.getAllIndustrylList(params);
    }

    public int findTotalCount(Map<String, Object> params) {
        return eyeModelSceneMapper.findTotalCount(params);
    }

    public int deletIndustry(Map<String, Object> params) {
        return eyeModelSceneMapper.deletIndustry(params);
    }

    public int editIndustry(Map<String, Object> params) {
        return eyeModelSceneMapper.editIndustry(params);
    }

    public int addIndustry(Map<String, Object> params) {
        return eyeModelSceneMapper.addIndustry(params);
    }

    public List<Map<String,Object>> checkSceneName(Map<String, Object> params) {
        return eyeModelSceneMapper.checkSceneName(params);
    }
}
